XPath Introduction
XPath is a W3C standard. It is designed to locate nodes in the xml1.0 or xml1.1 document node tree. Currently, xpath1.0 and xpath2.0 are available. Xpath1.0 became the W3C standard in 1999, while xpath2.0 standard was established
Overview
A previous blog post roughly describes the first demo based on Lazyui, which describes the design and use of this tool in detail.
element Get plugin : Lazyui Elements Extractor, as a chrome plugin, used to crawl common controls on a page
Book.xml everyday italian giada De Laure ntiis 2005 30.00 harry potter j K. Rowling 2005 29.99 xquery Kick start james McGovern< ;/author> per bothner kurt cagle Ja Mes linn vaidyanathan nagarajan 2003 49.99 learning xml erik T. Ray 2003 39.95
Document directory
General functions
Function for testing sequence capacity
Equals, union, intersection and except T
Aggregate functions
Generation sequence Functions
Access Functions
Name
Description
FN: node-Name (node)
1, XPath operation XML, the bottom part of the code is commented, but the full function, the removal of comments is normal use (there are write naming and other conflicts, so commented)Overall: Full read XML, XML additions and deletions, the
I. Introduction to XML
XML (extensible Annotation language) is a standard of the web, which is mainly used for easy interaction, storage and use of data between web-based applications and servers.
Data encoded using XML standard has the meaning and
Xml operations are often used. Java contains dom, dom4j, and other tool classes, but Javascript does not. So I wrote one myself. Currently, it is counted as the first version. There must be many improvements. If you need them, you can leave a
I have been asked many times why the DBA specification requires that the text () function be added to the XPath of the value method when parsing XML values, it seems that the result of adding and not adding is the same.
The following test script
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.